<!doctype html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link th:href="@{/css/testCss.css}" rel="stylesheet">
    <link th:href="@{/css/testCss.css}" rel="stylesheet">
    <title>Document</title>
</head>
<body>
<h1 th:text="#{login.heard}">plz sign in</h1>
<label th:text="#{login.username}">username:</label><input type="text" th:placeholder="#{login.username}" name="username">
<label th:text="#{login.password}">password:</label><input type="text" th:placeholder="#{login.password}" name="password">
<button type="submit" th:text="#{login.tip}">sign in</button>
<a th:href="@{index.html(lang='zh_CN')}">中文</a>
<a th:href="@{index.html(lang='en_US')}">英文</a>
<h1>这是一个主页，是的你没看错</h1>
</body>
</html>